set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/test/xmppcore/bin)

# Use QT network library
set(QT_USE_QTNETWORK true)
include(${QT_USE_FILE})

set(YOOHOO_TEST_MODULE_NAME xmppcore)

yoohoo_create_dummy_target(${YOOHOO_TEST_MODULE_NAME}_test_dummy)
yoohoo_copy_basic_libraries_to_test_binary_dir(${YOOHOO_TEST_MODULE_NAME})
yoohoo_copy_library_to_test_binary_dir(${YOOHOO_TEST_MODULE_NAME} xmppcore)
yoohoo_copy_library_to_test_binary_dir(${YOOHOO_TEST_MODULE_NAME} utils)

yoohoo_add_test(jabberidtest)
yoohoo_add_test(presencetest)
yoohoo_add_test(messagetest)
yoohoo_add_test(iqtest)
yoohoo_add_test(xmppparsingfactorytest)
yoohoo_add_test(xmppxmlparsertest)